import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-myc01',
  templateUrl: './myc01.component.html',
  styleUrls: ['./myc01.component.css']
})
export class Myc01Component implements OnInit {
  name = 'andyandy';
  names: string[] = ['andy', 'lisa', 'lala'];
  person = {
    name: '大强',
    age: 28,
    sex: 'man'
  }
  showclick() {
    alert('我是点击的');
  }
  html = '<h1>我是html</h1>'
  size = 17;
  score = 80;
  constructor() { }

  ngOnInit(): void {
  }

}
